Give a more useful error if cvxopt is not found
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Tue, 28 Jan 2020 22:29:29 +0000 (22:29 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Tue, 28 Jan 2020 22:29:29 +0000 (22:29 +0000)
commit44bf76a1df5cf2838b704b7f3704d900d460d884
treefee456d861f515a83a5e2310a05939b12debe4e7
parentaa35043867667f61977de0e1bc63d5cc057dfc35
Give a more useful error if cvxopt is not found

message wasn't actually passed to anything, so it previously failed at
statsmodels/base/optimizer.py:13 (_check_method) with
"Unknown fit method l1_cvxopt_cp"

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: accepted https://github.com/statsmodels/statsmodels/pull/6163

Gbp-Pq: Name show_cvxopt_error.patch
statsmodels/discrete/discrete_model.py